<template>
    <van-search v-model="value" show-action placeholder="高新区科技城梦之城店" @search="onSearch">
        <template #left>
            <div @click="goTo"><van-icon name="arrow-left" size="24" /> </div>
        </template>
        <template #action>
            <div @click="onClickButton">搜索</div>
        </template>
    </van-search>
</template>
<script setup>
import {useNearbySearch1} from '@/hooks/useNearby'
const {value,
    goTo,
onSearch,
onClickButton,} = useNearbySearch1()
</script>
<style lang="scss" scoped>

</style>